unit uFrmAddonRebuy;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ExtCtrls, Keyboard, Buttons;

type
  TFrmRebuyAddon = class(TForm)
    pnl_Buttons: TPanel;
    btn_Save: TSpeedButton;
    btn_Close: TSpeedButton;
    TouchKeyboard1: TTouchKeyboard;
    Panel1: TPanel;
    edt_Value: TLabeledEdit;
    procedure FormShow(Sender: TObject);
    procedure btn_OkClick(Sender: TObject);
    procedure btn_CloseClick(Sender: TObject);
  private
    { Private declarations }
  public
    AddValue: string;
    { Public declarations }
  end;

var
  FrmRebuyAddon: TFrmRebuyAddon;

implementation

{$R *.dfm}
{ TFrmRebuyAddon }

procedure TFrmRebuyAddon.btn_CloseClick(Sender: TObject);
begin
  close();
end;

procedure TFrmRebuyAddon.btn_OkClick(Sender: TObject);
begin
  AddValue := edt_Value.Text;
  close();
end;

procedure TFrmRebuyAddon.FormShow(Sender: TObject);
begin
  edt_Value.Text := '';
  edt_Value.SetFocus;
end;

end.
